import BaseComponent from "./BaseComponent";

const { ccclass, property } = cc._decorator;

@ccclass
export default abstract class BaseUI extends BaseComponent {

    abstract onShow(data?: any): Promise<void>
    abstract onHide(): Promise<void>

    public showEffect(){}
    public hideEffect(){}
}

